package com.ruoyi.a2.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel
@Data
public class A2StaticInfoForm {

    @NotBlank(message = "MMSI_ICAO不能为空！")
    @ApiModelProperty(value = "MMSI_ICAO",required = true)
    private String mmsiIcao;

    @NotBlank(message = "名称不能为空！")
    @ApiModelProperty(value = "名称",required = true)
    private String name;

    @NotNull(message = "类型不能为空！")
    @ApiModelProperty(value = "类型(1:舰船2:飞机)",required = true)
    private Integer type;

    @NotNull(message = "启用状态不能为空！")
    @ApiModelProperty(value = "启用状态(0:否 1:是)",required = true)
    private Integer enableStatus;

    @ApiModelProperty(value = "开始时间(yyyy-MM-dd HH:mm:ss)")
    private String startTime;

    @ApiModelProperty(value = "结束时间(yyyy-MM-dd HH:mm:ss)")
    private String endTime;

    @ApiModelProperty(value = "id(修改时必须输入)")
    private Long id;


}
